﻿
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Word文件另存为HTML</title>
    <script type="text/javascript">
        function saveAsHTML() {
            document.getElementById("PageOfficeCtrl1").WebSaveAsHTML();
            document.getElementById("PageOfficeCtrl1").Alert("HTML格式的文件已经保存到 SaveAsHTML\\doc 目录下。");
            document.getElementById("div1").innerHTML = "<a href='doc/test.htm?r=" + Math.random() + "'> 查看另存的html文件<a><br><br>";
        }
    </script>
</head>
<body style="overflow:hidden">
    <form id="form1">
        <div id="div1"></div>
        <div style=" width:1000px; height:800px;">
            @Html.Raw(ViewBag.POCtrl)
        </div>
    </form>
</body>
</html>
